package com.tjec.project.projectShowLibrary.mapper;

import com.tjec.project.projectShowLibrary.domain.BmsProjectShowLibrary;
import com.tjec.project.projectWorkbench.domain.BmsProject;
import com.tjec.project.projectWorkbench.domain.BmsProjectSimple;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * 项目Mapper接口
 *
 * @author tjec
 * @date 2020-04-07
 */
public interface BmsProjectShowLibraryMapper {

    /**
     * 查询展示项目列表
     *
     * @param bmsProject 项目
     * @return 项目集合
     */
    public List<BmsProjectShowLibrary> selectBmsProjectShowLibraryList(BmsProjectShowLibrary bmsProjectShowLibrary);
    
    public List<BmsProjectShowLibrary> selectBmsProjectShowLibraryListNo(BmsProjectShowLibrary bmsProjectShowLibrary);
    
    public List<BmsProjectShowLibrary> selectBmsProjectShowLibraryListDefault(BmsProjectShowLibrary bmsProjectShowLibrary);
    
    public List<BmsProjectShowLibrary> selectBmsProjectShowLibraryListSecurity(BmsProjectShowLibrary bmsProjectShowLibrary);
    
    /**
     * 项目展示锁定/解锁
     * @param bmsProjectShowLibrary
     * @return
     */
    public int lockOrUnlockProject(BmsProjectShowLibrary bmsProjectShowLibrary);
    
    /**
     * 根据项目id查询项目展示库信息
     * @param guid 项目id
     * @return 
     */
    public BmsProjectShowLibrary getProjectShowDetail(String guid);
    
    /**
     * 批量修改是否展示项目
     * @param guids
     * @return
     */
    public int updateProjectIsShow(String[] guids);
}


